package org.cskt.sl.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.cskt.sl.entity.BuyGoods;
import org.cskt.sl.entity.BuyGoodsExample;

public interface BuyGoodsMapper {
    int countByExample(BuyGoodsExample example);

    int deleteByExample(BuyGoodsExample example);

    int deleteByPrimaryKey(Integer bgid);

    int insert(BuyGoods record);

    int insertSelective(BuyGoods record);

    List<BuyGoods> selectByExample(BuyGoodsExample example);

    BuyGoods selectByPrimaryKey(Integer bgid);

    int updateByExampleSelective(@Param("record") BuyGoods record, @Param("example") BuyGoodsExample example);

    int updateByExample(@Param("record") BuyGoods record, @Param("example") BuyGoodsExample example);

    int updateByPrimaryKeySelective(BuyGoods record);

    int updateByPrimaryKey(BuyGoods record);
}